
<template>
  <div class="common-layout">
    <el-container>
      <el-aside  class="aside">
        <Aside />
      </el-aside>
      <el-container class="container">
        <headerpage></headerpage>
        <div class="content">
          <router-view></router-view>
        </div>
        <el-footer><footerView/></el-footer>
      </el-container>
    </el-container>
  </div>
</template>

  
<script setup>
import headerpage from '../../components/Header/index.vue'
import Aside from '../../components/Aside/index.vue'
import footerView from '../../components/Footer/index.vue'
import { RouterView } from "vue-router";
</script>
<style  lang="scss" scoped>
.common-layout{
  height: 100vh;
  background-color: #f7f7f7;
  .aside{
    width: 230px;
    height: 100%;
    background-color: #f7f7f7;
  }
}
.container {
  height: 100vh;
  background-color: #fff;
  padding: 0;
  .content{
    width: 100%;
    height: 100vh;
    background-color: #f7f8fa;
  }
}

</style>
  